//*****************************************************************************
//
// ABEC3 Solving File
// Project: ABEC21
//
//*****************************************************************************

 
Control_Solver
  f1=30;  f2=2000;  NumFrequencies=60;  Abscissa=log;
  MeshFrequency=2000Hz
  Sym=x; Dim=3D
  Meshing=Delaunay
  
  
Meshfile_Properties
  Meshfilealias=M
    Scale= 1mm
    Shift= -100mm, 0, 0
    Tags= exclude 13 20 22 3 37 32 7 35 19 10 30 2 6 29 9 4 31 36 11 23 8 1 33 34 28
    MinAngle=5

Meshfile_Properties
  Meshfilealias=Mb
    Scale= 1mm
    Shift= -100mm, 0, 0
    Tags= exclude 16 8 10 19 12 12 15 2 21 26 1 22 4 23 25 27


Nodes "N"
  Scale=  1mm
  // Interface
  1001    0   0   500
  1002  -90   0   500
  1003  -90   0   165
  1004    0   0   165
  // Missing part in horn
  2001  -90  10   500
  2002    0  10   500
  2003    0   0   500
  2004  -90   0   500
  

Subdomain_Properties "Exterior"
  Subdomain=1
  ElType=Exterior 
  
  
Subdomain_Properties "Interior"
  Subdomain=2
  ElType=Interior
  
  
Subdomain_Properties "Horn"
  Subdomain=3
  ElType=Interior
  EdgeLength=30mm
  
  

Elements "Exterior-Enclosure"
  SubDomain=1
  MeshfileAlias=M
  101 Mesh include 14 15 16 17 5

 
Elements "Interior-Enclosure"
  SubDomain=2
  MeshfileAlias=M
  101 Mesh include 21 27 24 26 25 18
  
  
Elements "Interior-Baffle"
  SubDomain=2
  Meshfilealias=Mb
  101 Mesh include 7 6 9 


WallImpedance
  RefElements="Interior-Enclosure"
  ImpType=Damping
  Value=0.005

WallImpedance
  RefElements="Interior-Baffle"
  ImpType=Damping
  Value=0.005

  
Elements "Horn-Enclosure"
  SubDomain=3
  MeshfileAlias=M
  101 Mesh include 12
 
Elements "Horn-Baffle"
  SubDomain=3
  MeshfileAlias=Mb
  101 Mesh include 11 13 14 17 18 20
  102  2001 2002 2003 2004 RefNodes=N

 
Elements "Interface"
  Subdomain=1,3
  RefNodes=N
  EdgeLength=30mm
  101 1001 1002 1003 1004


Diaphragm  "Drv1 cone front"      // DPH75 (small driver on right hand side)
  DrvGroup=1001                   // Driving group link to observation stage
  SubDomain=3                     // Front side belongs to sub-domain 3
  Meshing=Delaunay   
  EdgeLength=10mm 10mm
  Position= MeshFileAlias=Mb Include 28  Rot=-22.5 // Triangle giving position
  Side=Front                     // Creates elements for the front side of the diaphragm
  NoBaffle
  Simple=true                   // Simple model
  dD=63mm                       // Diameter of cone  (56.5mm + 6.5mm suspension)
  ws=6.5mm
  tD1=8mm                       // Inner depth of cone to base of dust cap
  dD1=37mm                      // Diameter of dust cap                
  hD1=9mm                       // Height of dust cap                  
  hD2=15mm                      // Height of total cone on the outside 
  dVC=23mm                      // Diameter of voice coil              
  hVC=7mm                       // Height of voice coil                
  //dM=71mm                     // Diameter of magnet                  
  //hM=18mm                     // Height of magnet                    
  t1=-10mm

Diaphragm  "Drv1 cone rear"
  RefDiaphragm="Drv1 cone front"    // Inherite from "Cone front"
  DrvGroup=1002                 // Driving group link to observation stage
  SubDomain=2                   // This side belongs to sub-domain SubDomain=2
  Side=rear                     // This is the rear side of the diaphragm
  Position= MeshFileAlias=Mb Include 28 Rot=-22.5 // Triangle giving position


Diaphragm  "Drv2 cone front"
  DrvGroup=2001                 // Driving group link to observation stage
  SubDomain=3                   // Front side belongs to sub-domain 3
  Meshing=Delaunay          
  EdgeLength=10mm 10mm
  Position= Mesh MeshFileAlias=Mb Include 24  // Triangle giving position
  Side=Front                    // Creates elements for the front side of the diaphragm
  NoBaffle
  Simple=true                  // Simple model
  dD=82mm                     // Diameter of cone  (72mm + 10mm suspension)
  ws=10mm
  tD1=10.5mm                    // Inner depth of cone to base of dust cap
  dD1=34mm                      // Diameter of dust cap
  hD1=6mm                       // Height of dust cap
  hD2=20mm                      // Height of total cone on the outside
  dVC=26mm                      // Diameter of voice coil
  hVC=10mm                      // Height of voice coil
  //dM=69mm                     // Diameter of magnet
  //hM=22.5mm                   // Height of magnet
  t1=-10mm

Diaphragm  "Drv2 cone rear"
  RefDiaphragm="Drv2 cone front"    // Inherite from "Cone front"
  DrvGroup=2002                 // Driving group link to observation stage
  SubDomain=2                   // This side belongs to sub-domain SubDomain=2
  Side=rear                     // This is the rear side of the diaphragm
  Position= Mesh MeshFileAlias=Mb Include 24  // Triangle giving position
  
  
Diaphragm  "Drv3 cone front"
  RefDiaphragm="Drv2 cone front"    // Inherite from "Drv2 cone front"
  DrvGroup=3001                 // Driving group link to observation stage
  SubDomain=3                   // Front side belongs to sub-domain 3
  Position= Mesh MeshFileAlias=Mb Include 3   // Triangle giving position

Diaphragm  "Drv3 cone rear"
  RefDiaphragm="Drv3 cone front"    // Inherite from "Cone front"
  DrvGroup=3002                 // Driving group link to observation stage
  SubDomain=2                   // This side belongs to sub-domain SubDomain=2
  Side=rear                     // This is the rear side of the diaphragm
  Position= Mesh MeshFileAlias=Mb Include 3   // Triangle giving position
